<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <script>
      var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
        CSS.supports('top: constant(a)'))
      document.write(
        '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
        (coverSupport ? ', viewport-fit=cover' : '') + '" />')
    </script>
    <title></title>
    <!--preload-links-->
  </head>
  <body>
    <div id="app"><!--app-html--></div>
    <script type="module" src="/main.js"></script>
	<!--SockJS库-->
	<script src="/static/js/sockjs.min.js"></script>
	<!--Stomp.js 库-->
	<script src="/static/js/stomp.min.js"></script>
	<!-- 直播间解码用 -->
	<script src="/static/js/hls.min.js"></script>
	
	<script>
		// -----  创建长链接 --------
		let socket = new SockJS("/msg/ws");
		let client = Stomp.over(socket);
		//创建链接
		client.connect({}, function (frame) {
			console.log("链接成功")
		});	
	</script>
  </body>
</html>
